﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ZebraCoreLib.Framework;
using ZebraCoreLib.BasBiz;

namespace ZebraCoreLib.User
{
    [ZebraBizObject(TableName = "WMS_GoodsType", IsCacheData=true)]
    public class GoodsCategories: BasBizService<GoodsCategories>
    {
        [ZebraField(Title = "编号", DataField = "GoodsTypeID", MaxSize = 32, IsRequired = true )]
        public string GoodsTypeID { get; set; }
        [ZebraField(Title = "名称", DataField = "TypeName", MaxSize = 32  )]
        public string TypeName { get; set; }

        [ZebraServiceMethod(ValueMember = "GoodsTypeID", DisplayMember = "TypeName")]
        public List<GoodsCategories> GetGoodsCategories()
        {
            return List("sucode='its00002'");
        }

        
    }
}
